import React from "react"

import { AppContextProvider } from "@/context/app-context"
import { ChatContextProvider } from "@/context/chat-context"

const AILayout = ({ children }: { children: React.ReactNode }) => {
    return (
        <AppContextProvider>
            <ChatContextProvider>
                {children}
            </ChatContextProvider>
        </AppContextProvider>
    )
}

export default AILayout